package com.qk.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.qk.domian.clue.ClueCountDO;
import com.qk.domian.clue.ClueDO;
import com.qk.dto.clue.ClueListDTO;
import com.qk.entity.Clue;
import com.qk.vo.clue.ClueVO;
import org.apache.ibatis.annotations.Mapper;


import java.util.List;

/**
 * @Author:Shuna
 * @Date: 2025/10/13 16:53
 * @Description:
 */
@Mapper
public interface ClueMapper extends BaseMapper<Clue> {

    ClueVO selectClueInfoById(Integer id);

    List<ClueDO> selectByPage(ClueListDTO dto);


    Page<ClueDO> selectByPageMp(Page pages, ClueListDTO dto);

    ClueCountDO selectCountClue();
}
